package com.sjgtw.cloud.web.largeEquipment.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * equipment对象 t_eg_large_equipment
 * 
 * @author ruoyi
 * @date 2024-03-09
 */
public class LargeEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 工区id */
    @ApiModelProperty("工区id")
    private String workAreaId;

    @ExcelProperty(value = "关联工区")
    private String workArea;

    /** 地点 */
    @ExcelProperty(value = "地点")
    @ApiModelProperty("地点")
    private String location;

    /** 设备名称 */
    @ExcelProperty(value = "设备名称")
    @ApiModelProperty("设备名称")
    private String device;

    /** 数量 */
    @ExcelProperty(value = "数量")
    @ApiModelProperty("数量")
    private String amount;

    /** 型号 */
    @ExcelProperty(value = "型号")
    @ApiModelProperty("型号")
    private String type;

    /** 联系人 */
    @ExcelProperty(value = "联系人")
    @ApiModelProperty("联系人")
    private String contacts;

    /** 联系方式 */
    @ExcelProperty(value = "联系方式")
    @ApiModelProperty("联系方式")
    private String contactsPhone;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getWorkAreaId() {
        return workAreaId;
    }

    public void setWorkAreaId(String workAreaId) {
        this.workAreaId = workAreaId;
    }

    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setDevice(String device) 
    {
        this.device = device;
    }

    public String getDevice() 
    {
        return device;
    }
    public void setAmount(String amount) 
    {
        this.amount = amount;
    }

    public String getAmount() 
    {
        return amount;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setContactsPhone(String contactsPhone) 
    {
        this.contactsPhone = contactsPhone;
    }

    public String getContactsPhone() 
    {
        return contactsPhone;
    }

    public String getWorkArea() {
        return workArea;
    }

    public void setWorkArea(String workArea) {
        this.workArea = workArea;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workAreaId", getWorkAreaId())
            .append("location", getLocation())
            .append("device", getDevice())
            .append("amount", getAmount())
            .append("type", getType())
            .append("contacts", getContacts())
            .append("contactsPhone", getContactsPhone())
            .append("remark", getRemark())
            .toString();
    }
}
